/** VUE 路由
 * @ 标  识: hchhIOT
 * @ 作  者: 阿拉丁矿工 黄传鸿 <hchhyzc@foxmail.com>
 */
import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";

const routes: Array<RouteRecordRaw> = [
  //——————————————————————————————————————————————————————————|用户
  {
    path: "/",
    redirect: "/canvasEditView", //从定向
  },
  {
    path: "/canvasEditView",
    name: "canvasEditView",
    component: () => import("@/views/HLayout/index.vue" /*画布编辑视图*/),
  }

];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;
